package com.vm.osm.business.dao;

import com.vm.osm.business.dto.rsp.authRule.DispatchRule;
import com.vm.osm.business.entity.OsmDispatchRule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by chenzui on 2018/2/23.
 */
public interface OsmDispatchRuleMapper extends BaseDao<OsmDispatchRule,String> {
    public List<DispatchRule> getDispatchesByCond(
            @Param("type") String type, @Param("objId") String objId,
            @Param("authMan") String authMan,@Param("authObjName") String authObjName,
            @Param("enterpriseId") String enterpriseId);
    public List<String> queryStaffId(@Param("objIds") String objIds,@Param("enterpriseId") String enterpriseId);
}
